Templately\Core\Importer\WPImport D

Total Complexity 267
Dependencies 5
Dependents 3
Total lines 1,662
Lines of code 1,012
Logical lines of code 662
Comment lines 312
Methods 32
Properties 29

Methods 32

Method Rating Maintainability Complexity Lines of code
process_posts()
D
19
53 222
fetch_remote_file()
C
32 29 94
process_menu_item()
C
34 25 87
set_author_mapping()
B
39 20 57
process_terms()
B
37 16 77
process_attachment()
A
38 13 65
__construct()
A
48 13 33
backfill_parents()
A
50 11 30
prepare_block()
A
52 9 24
get_filename_from_disposition()
A
51 8 27
import_sizes()
A
53 8 21
process_termmeta()
S
54 6 21
import()
S
49 5 33
set_authors_from_import()
S
55 5 19
get_file_extension_by_mime_type()
S
60 5 12
process_navigation()
S
58 4 16
size_exists_in_metadata()
S
63 5 10
generate_missing_size_from_full()
S
59 4 15
import_start()
S
53 3 22
get_saved_image()
S
55 3 21
remap_featured_images()
S
64 4 10
backfill_attachment_urls()
S
53 2 23
handle_duplicated_nav_menu_term()
S
62 2 12
import_end()
S
63 2 11
create_unique_destination_file()
S
63 2 10
is_valid_meta_key()
S
70 2 6
update_term_meta()
S
72 2 5
update_post_meta()
S
72 2 5
create_size_array()
S
62 1 11
remove_extension()
S
71 1 5
parse()
S
76 1 4
run()
S
77 1 4